Modified test to check for kwargs.