MDL-39524 tests: unit test for get_real_size()