add require tests; center title; simplify pastenum gen

- fixes #28