Implemented code to prevent database changes during running the test case Run