Added access bank checking with tests