Unit test for Fast.js