added test task to use with npm test
added some tests for POST