FH-19 Unit testing

Implemented unit testing.