added system testcases, working as far as expected