Added some tests, fixed a typo (timer -> timers), changed config loading code