Wrote test considering last visited room