fixed test in resulting js