More tests and definitions added for profile service