Updated tests to include div wrappers
URI lib can throw errors. Best not to use it unless catching those problems