added compatibility with body-parser
added test for express