Adds tests for params middleware
Adds a short example for a REST API