Make a user_id attribute accessible.
Make a user test data.
Fix tests.