A simple assertion for the fortcoming revamped test system.

https://github.com/ariya/phantomjs/issues/12439
Some tests for JavaScript's Function.

https://github.com/ariya/phantomjs/issues/12439
https://github.com/ariya/phantomjs/issues/10522