Fix unit tests randomly failing on CI servers
Added license badge