formatted tables for price view, tests now passing