Fixed issue with StringUtils wherein lists that contain nulls would throw a null pointer exception + tests