Bind to test/1 instead of test.  Binding test duplicated test/1.