Adding a return value to determine if the testing was successful or not"