Merge "Add test for libcore API" into sc-dev