add method test
Merge pull request #3 from sorsucrel/feature/refactor

add method test