Added unit test based on user forum issue