Fix stupid error
Add specs for config methods