Fixed silly mistake in test code. It works now, which means I now have idea why the mainline code isn't working
Tried the other syntax for passing kernel arguments