started adding tests for issue-2