Add testcases for Select and temporarily change some HBaseCatalog internal functions to public for testing-purpose