relax the hspec dependency
use lambdacase for slightly nicer code