Fix function name
Add test fail outputs
Fix whitespace issues
Use assertTrue to check if functional tests worked