Added unittest for cgtoowl