unit tests update for full coverage
adding interface to unify composition reading
removing uncessary variable