add some tests for user model
add some spec files