add sampling event controller and view spec