Added test.java

This is my first PR.