added authorizedapplications tests(still doesn't work)
added sessions test