added negative testcases