end to end test added, getting error