Documentation and cleanup for the new testing features