fixed tests for creating user errors cases