beginning to write some actual unit tests