Capfile properly tested

closes #19