added test files and enhanced static.js