Simplify scan unit tests