test for __contruct