creates test for coprime function
coprime function passes test