test added for issue 2486