adding tests to validate dart and js files