added type, constructor and first test