add unit test for square_seq.js