fixed auth tests and added statement tests