test library or function module exists