adding TestFERN.java

this is a quick util to test FERN operations
tidy-up

removed extraneous testing code and tidied up InterGroupServer.java