Could this be because the test is declared as an object - I always declare tests as classes.

If we can't get this working then I'd rather not have the test.