fixed small bug
fixed a bug
progress on block insert and controller tests