replaced gui with test