A test driven development for an is_prime