fixing up revenue testing