Fix for tests for users and card registartion