Don't create ActiveRecordLike-things in tests

This was causing sporadic test failures on the new CI box. This is because the ActiveRecordLike thing created in the test persisted beyond the test and was leaking into others.