corrected tests and added procedure to documentation