Add minimal tests for chains