Added option to run tests for method