Added whitespace and nesting tests