Fixed ampersand implementation. Final debugging. New tests.