Fix #results_sort
Add lookup by state to integration test
Fix formatting
Add scenarios test suite