updated tests to remove magic numbers