psftools: use resource
Simplify test formula setup