implemented tests methods