Fixing spec test