added junit tests to build