added testing files and erosivity function