Refactored.
Split test specs into smaller units.