Test cases; print vs. return