Use isnt ( exception {... instead of dies_ok, and add the missing one back in. Add a local  so the tests pass. Use the proper 'use lib'.