Added tests for 100% code coverage, fix query string bug

Removed destroy method, fixed bug with query string, added check for
empty array route