Fixed incorrect parameter order in test_api.py and corrected the example kernel in README.md