Fixed displacement field consolidation and added tests for it