doc: more mana oriented. add script to test everything.