Added test cases and code support for trillions