fixed faulty tests (doc50, doc51)