Implemented error-checking and related tests
Added note about no auto-struct generation