Providing variable to work with a given DB id
GET and POST now work as expected with test specifc URLs, minor cleanup