Refactored tests for instance methods