test framework using babascript