Fix a few errors
Added some tests for Application class
getFieldList() now just returns the fields (not the connections as well)