unit test for user views. to be continued ...