A mock coffee implementation to ease browser-less testing