Updated to the latest gagarin
Added some new tests