updated tests for javascript changes