Correct test src structure and resource for serialization tests