issue SOR-3, added test cases