add unit tests

there are currently no tests at all...