Added test into tests/tests.js