Convenience shape test generator using chai, designed to run in mocha