microposts test and model