tests passing with prototype