test/params_test.c: Add API test case, and mixed methods