bug fixes, regularize case of names, repair ancient test files [.js], introduce the changes to Race attributes 

bug fixes, regularize case of names, repair ancient test files [.js], introduce the changes to Race attributes