test with database connection to profile