progress on appointement testing with pytest