Add test cases for packReal.