verify method added
test refactored
very ugly implementation for verifying method call