working through tests solutions