The convention for jQuery plugin methods is to always return the element they've been called on. If you want the return value from a controller use this:
- $('#test').controller().returnValue()