Improved tests for checking errors when user signs up