refactor squint test