fixed broken test with wrapper returned instead