removed obsolete code
added missing constructor tests