added test for clicking ok

Signed-off-by: Rachel Logie <rachel.logie1@gmail.com>