Adds management.py for testing and removes a test that mocket writeit that is replaced by the test that does not mock anything