otest-query now looks at return type & num of args

When determining whether or not a method is a testcase, otest-query
now also checks if the return type is void and that the method does
not take any arguments.