[#70546388] added unit tests for combined long and short term gains