Test for duplicate DB and clearer messages