Adding test cases to exercise functionality