profile: testing scaffold

A simple scaffold for testing various profile options and observing the output.

Updates #7 
I know this is just a test, but I'm guessing maybe other people look through your code hoping to learn (as did I) so I'd like to think that this is one of those rare situations where named returns would come in handy.
```go
func runTest(t *testing.T, code string) (stdin, stderr []byte, error)
```