A case that tests the boundaries of religious freedom and gay rights came to the Colorado Court of Appeals on Tuesday, with a suburban Denver baker urging judges not to force him to make cakes for same-sex couples because it would violate his beliefs.