Update features test to js version