This is while mildly amusing also quite frankly unprincipled, reckless, and immoral. 
 Violation of trust is something that destroys the basic tenets of our culture; it leads to an unwillingness to rely on people, moving into insecurity, and, finally, anarchy, in which everything we value about our civilization ceases to exist. 
 In addition to that, to find amusement in racial slurs is disturbing and disgusting. A prank that insults an entire group of people is not funny at all.