Update TestClass.java

Added constructor