added testcases to core