Shared ownership code to be trialled with eight housing providers