basic js and tests to confirm setup