Add gaia unit tests