added tests and class
Merge branch 'master' of git://github.com/guyroyse/java-class-code