removing inlined test code