writing config stuff - fixing tests