finished catalog tests, updated package.json, moved function to utils