performed changes on api and made adaptions for test-cases

changing api to HAL conformity
adapt test-cases