add simple test to check record is called on setup failure