Updating some file for conventions and added testing methods for delete and error messages