small code cleanup
adding specs around sessions/options