correct constructor and write expectations