Updated testcases for new core library