Adding test file for selection.js