add conf to test context. fix tests (secret key was wrong, test was broken