Update tests to use config files

Uses 'test' by default
Can be overridden using OPENPHOTO_TEST_CONFIG env var