Added initial profile testing code