Refactor tests, added tests for frameworkVersion