TESTS UPDATED
REGISTREERTEST.JAVA FINALLY WORKS.