Fixed TableViewTest, started work on PileViewTest - flip working
Fixed gui tests, must be run one by one though