updated tests and added output for ashorn49