added test cases
spelling
fix csv data
add guard