adds missing import
adds missing cowboy dependency
removes use of non-existing test helper