refacotring scene tests