writting tests and squashing bugs