1. Refactoring some base test class;
2. Begin to write device apis tests.