Update test-core.js

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

Update test-core.js