Slightly refactor nipaptest
Add test for checking indent calc

According to #330, calc_indent is broken, but when trying to reproduce
with this test it seems to be working properly. I'm either blind or the
test case in the bug is slightly off.