separate unit tests

fixes #5