Fixes tests for requiring email in user schema