Fixed some tests failing on Darwin. (#19)