Added unit test to sample game