common_api_spec_js: common test of entities