add a jasmine helper for API/system check