tests pass for navbar element
writing tests for user reg