Added a test for cancelation fix
Added test to cover dismissal when the user chose an image