testing the Takeway class