Add tests for befoer initialize