edit pastatest

fixed missing def