created migrations and unit testing required components