Add users tests

It resolves #81 and #94