start unit tests. should have done tdd from the start :(