Test case changed to use the static method.