Add more tests for sane configuration

Fix #80