adding InstanceBasedTests.java
adding certv1 tests to Instance based tests