update tests for icon path
module patter for js
remove temp file