adding tests dir
if ldap fails, fallover to internal db