Clean up lib tests