Add typedef tests. #99