Added javascript tests for selectable item controller