Fixed background_test.py to start and stop