making test more maintainable