Added tests, and a line to config