moat tests