added many tests for user prototype