Refactors basic vector layer management tests.