Cleaned tabs & spaces mixture to 4 spaces in all files, added unittest for non-existend scale exception (musthe line 21)