start writing unit tests