my test with google closure library, edits and unit tests