Added getAll to base dao and integration tests