Porting over test utils from the main bula application.