Fix application start order in tests, gun depends on cowlib