fix test

This test was only accidentally passing before.  Its passing depends on the order that test methods are executed.  The test would fail with Groovy 2.4.0.