Add unit tests for examples

Those aren't compiled in unless you reference both of them - both should be imported in pkg/api/latest and pkg/api, and you should import pkg/api/latest for side effects.


> On Oct 2, 2014, at 8:51 AM, Vojtech Vitek <notifications@github.com> wrote:
> 
> In pkg/api/latest/latest.go:
> 
> > @@ -6,6 +6,7 @@ import (
> >  
> >  	"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
> >  
> > +	_ "github.com/openshift/origin/pkg/api"
> @mfojtik yeah... but I can't see what is the exact problem. Both "v1beta1" and "" versions are registered properly, see:
> 
> https://github.com/openshift/origin/blob/master/pkg/route/api/v1beta1/register.go
> https://github.com/openshift/origin/blob/master/pkg/route/api/register.go
> Maybe @abhgupta can help here?
> 
> —
> Reply to this email directly or view it on GitHub.