Add test for profiles lifecycle manager.