added tests for round_to_next function