Fix undefined reference to Outcome in test.js