athenahealth interview question

You will need to write testcases for buggy programs given.