Added test for stopping and starting