Design and testing of an on-sky astrophotonic telescope platform for on-chip instrumentation