Some tests with js
some fixes
Fix
Some problems with integration tests