added tests for image align feature