Fix test interface

With this PR, Scala.js 0.6 is ready for uTest. Also see lihaoyi/utest#44
Spurious space after `function`.