Finished deserialisation exception improvements
Added invalid deserialisation test