Testing some Andrey-like code