Fix failing tests - fix displayed email of user, rename columns in DB (type is reserved word), add proper valid attibute values when creating testing objects