fixed dimensions from lag and lead, four more tests

This closes #132