Merge "add test for new API." into sc-dev