Fix test cases.

First, regions have a pointer to its el. No need for a lookup. Second, I'm
detaching all contents before running the replaces. Third, never replace
top view's el, just modify.
A very crucial line :)