Simple test functions for Node.js