Wrote some model tests
Made user names case insensitive