DAR-2885 Added unit test