edited tests for user id