Added POD unit test, fixed POD errors.