fix spec view tests