Add group.js and test file