Add testing support
Initial version to consistently pass beaneater tests