test case without keys
spec test and fix for an absent user