Added a dispose test