Changed name of method call. Don't think it's possible to test this end-to-end without UI support, need to use a web page for it...