Partial switch() test