Functional testing tool using qUnit