Added unit test for removing empty vra element sets.

References #414.