Added some tests for DAL