added test to check if lib folder exists