Unit and acceptance tests for Collatz