Add App unit tests for connect methods.
Use getter methods instead of instance variables.