fixing spantests