got rid of duplicate libs
fixed type option count in tests