Increased test coverage. Added profile support

Signed-off-by: David Saradini <david.saradini@me.com>