Testing the functionality.