string chomp tests and first pass at typing test