tests for methods
update tests