Implementing Ordinal and adding tests.