testing how js interpreter works