Fixed PHP-949: ensureIndex() creates wrong names
Fix test after fixing the bug