unit tests

Why is this necessary?