issues with testing
resolved all errors