Added unit tests and readme for model optimizer (#79)