Added initial tests.
Fixed OCD issues ;)
Merge pull request #1 from patriksvensson/master

Added initial tests.