Added proper dungeon generator tests

Refactored attempt_corridor/room to take artifact parameters instead of
generating them themselves.