#23 test case bugfix