test and decent output