added unit tests for documented functionality
Merge pull request #4 from Bartvds/master

Added unit tests