Fixed tests that where checking the wrong thing
Fixes a bug in the endpoint runner that caused a null config to be passed