simplified issue 101 unit test