add some test code to make sure framework starts and stops