Add unit tests for User entities.

Signed-off-by: Max Fierke <max@maxfierke.com>