Refactored LengthTests and added one MassTest