Adding assertSessionHasErrors

-Also removing newline from end of file