remove do syntax since it is deprecated in 0.10
fix generics with owned pointers
remove draw_managed
change assert_eq to assert with == operator for vectors