tests all passing with new representation