worked on views, added some more actions for dependent destory, also updated test to be less fragile