Refactoring TestingFrameworks code

After this refactoring, TestingFrameworks is only referenced once, and then
remembered throughout the execution of the code. This is better than having to
parse the testBundlePath each time, looking for the extension, and getting the
related information for that particular executable