fix methods name
fixes type, added tests