added profiles and more test cases