Add authorization model test, remove trailing spaces