Add more test case for master data entity.

Fix build script issue.
Fix test framework loading entity issue.
Add more test case for master data entity.