fixed (very) small bug in test.js