tests for authorize, #51
specs updates, #51
specs for authorize done #51