Why don't you put the procedure of self.execute_script() inside the test case itself? It would be much more readable, because it would explaing the behaviour that you're testing. When you put the interface method that is being used inside another method of the test class, it gets unclear what's the intention of the test.