fixed spacing. added more tests