Add LibraryReference split tests and constants (introduce enums to
prevent inserting wrong string constants)