param validation; added skeleton spec file for library testing
fix fixtures files, alter library.pp to use case instead of if/else, fix misnamed spec file