fix hspec uppperbound: the code does not compile with hspec 1.12