Added method ensure that cell cannot be hit more than once and added contexts to tests