Updated Test.java

Worked on bugs and stuff.