Updating the testing functions