more work on testing vector layer funcs