Fixed tests and error into katrinTankViewer.js