move import to module-level
make pinning filter tests destructive
use helper method to do all checks on pinned filter color