stub test fix