added unit tests
Merge branch 'master' of https://github.com/estabij/core