Fixes for BaseOpenStackMockTest and ParseAccessTest

2 commits for the different fixes.