constructor and new test