Fixed unit test bug and various changes while documenting the construction of the levels.