fixed goalTest