Ears: Add some unit tests