test method method on prop object