unit and acceptance tests for Collatz