Add export so that we can easily create tests