Update Tests.java

Unit test class