LPS-50547 added important test that checks several ways how to create instance