adding InstanceBasedTests.java