Basic express server tests and clean up
Make sample runnable on express 3.x
Retry the records which got failed to be pushed