preact: add tests