Added more complex prefix test.
Added support for multiple backgrounds.