Test JS cycles