Updated alignment unit tests to the new API.