CHUKWA-174. Added test cases to test database partitioning, database aggregation, and data loading. (Eric Yang)