Added checks and four new tests to ensure conformity.