App is working functionally, but tests are not passing. Need to figure out what is wrong