creates moment via test. to do error cases.