Created tests for UserDAO
Fixed mis-spelt parameter name