Removed magic numbers.
Added userCanBeUpdated test.