removed magic numbers from tests