added post content-type test
added model validation and error msg
added test for invalid post request
added mongoose debug config