Fixed the broken test