useful methods and classes testing