Add strict mode and make sure random attributes can't be added in testing.