Add eagle/pretorian and more unit tests