changes: #6

unit tests are appended to js file #6