excersising more of the code through tests