Tests, AMS3, docs, fixes