BS-10683: Manage to have unit test passing when building from maven too