Add test for using custom config

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>