added post method to Resource
added tests of post method
build was updated