Update Test_1.java

Assertions added + registration with valid credentials