Fixed test names
Fixed removal of white space
Added calculating localtime