added testing for casts library module