tests for outputfields and restructuring of test folders

@commuterjoy @AlbertoElias