Added several test cases about alignment