Editor tests

Add some basic editor tests.