adds complete board unit test and javadoc