preact: port tests to new api
Merge pull request #269 from segmentio/test/preact

preact: port tests to new api