def test_items():
	start = Room("Start", "You can go west and down a hole.")
	west = Room("Trees", "There are trees here, you can go east.")
	down = Room("Dungeon", "It's dark down here, you can go up.")

	start.add_items({'book': "a book"})
	west.add_items({'axe': "an axe"})
	down.add_items({'key': "a key"})
	assert_equal(start.take('book'), "a book")
	assert_equal(west.take('axe'), "an axe")
	assert_equal(down.take('key'), "a key")