Tests and Docs, fixed failure on tests until sessions can be tested.