Added two tests for allowed users
Fixed tests