Updates test-interval-creation to use make_check.

Adds a meaningful return value, allowing make_check to return some information if the tests fail.
test-interval-creation: Some small whitespace and const fixes.