Update test-core.js

Make tests click fancytree title and not list element.
Merge pull request #243 from markbernard/update_tests

Update test-core.js - thanks!