Fixed possible test module import failure when boto is not installed.