Add tests to cover arrays.js and remove unneeded code
Adding strings.js tests