Add Test for profiles lifecycle manager.