Added unit test for accepting an answer