added gateBeads
coverage.sh improvements
added gate tests