fixing spec test