Fix tests
Close GH-78. Return config as object
0.10.1