tests have been written
coding style for tests fixed
Merge pull request #23 from jifeon/master

Tests added