added test for libraries
removed 'whereis' test command as it gave false positives on ubuntu/linux. closes #1