add more test to test_acquire_cred that removes the need of test_init_creds.c