Add test javascript file to simulate snowflake.api