Adding some tests to Authorization class

Just adding some tests and an entry on the gitignore file of .idea project folder.