Fixed a couple of issues with the unfriend button. Added tests to make sure they don't come back again.