Convert catalog tests to JS.