Add prerequisites and units tests