Small fix for unit testing