(test) updated end-to-end test