PWS-103 #comment fixed an issue where the function wasn't exported.
Updated test.