Support ... footer

and also start new mapping on first key.
Move footer test to separate file.
0.0.7