fixed phpspec test