Simplified test.js