Changed can_delete_(post|topic) to appropriately take only post and topic as parameters
Fixed tests