updated profile and added additional tests