Tests to check for null and changing tabs to spaces