One biologist has attempted to create a test with dogs. The basic hypothesis is that dogs should be able to recognize their own urine if they can detect "self" through smell. The results so far have been inconclusive[1]
[1] http://en.wikipedia.org/wiki/Mirror_test#Animals_with_a_non-...