set up junit and started writing tests