create a test for setting verbose mode in API