changed test file to resemble implicit tag ends
fixed outData() to work with new structure of data
added use of outdata