Updated test engine and documentation. Bug fixes.