Make all tests inherit from BaseTestCase and fix license headers and style

refs #4639
Fix statusdat component test

refs #4639
Fix database tests

refs #4639