Test the api base controller and fix some typos