Fix tests by removing gtk3 and stubing const