fix typo in hook
create new test to test all default_library paths
back accidentally commited bit of testing code from MainActivity