adds options function to help with testing