fixing testing instructions for pytest
fixing key error with pluralization