Tests for JS shell-only functions