misc tests for srclib-javascript