mr. x explained to peter , because slaves had no rights and because blacks could not testify against whites in court , masters could kill a slave for any reason no matter how whimsical if they felt an example needed to be made .