access key fixes and some more tests