equals() on assets plus xstream-based tests for serialisations