Reset getInstance method after each test