Added test case for custom Short class usage