Use subdirectory as cwd if specified
Fix tests for subdirectory install

- make assert_install test clearer
- Add option allowing for testing install from an editable subdirectory