range query is now fully functional for both GET and POST methods
improved comments
minor code layout and indentation improvements
added range query syntax examples in the comments

removed unused functions from the tests file