tests are passing and member object in being returned