added new tests and most of the mvd serialise code. Reads mvds now.