Libs are now a proper dependency and are correctly passed on cli.
Fixed lib names.
Added test functions for each lib.