Fixed #1270 ClassCastException with ceylon.language.empty_
Fixed tests for #1270