added tests for start and stop