Update alan.java

Comments for test()