For #1289: Tests