add some tests and change format to use spaces instead of tabs.