added a test: test_selectStatementStaticWithOrderByLimit().
cleaned up test_selectStatementStaticWithOrderBy() and test_selectStatementStaticWithOrderByLimit() with a helper function that can be used commonly.