Added tests and refactored code
Merge branch 'master' of https://github.com/Arseniik/Kata_Jasmine