[#1251] PEP8 resource proxy tests, tidy imports a bit