add unit tests for core.js
rm locator from require list
update tests basing on review feedback
add tests for plugin.js
update tests basing on feedback
update test name
Merge remote-tracking branch 'upstream/master' into unittest

Conflicts:
	tests/lib/index.js
add newline at the end of file
update unit tests to rm locator dependency
rm script tag
split tests to files
clean up and rm testapp dir
Merge pull request #2 from lzhan/unittest

Add unit tests