added User behavior and tests