Extract source location for test method style from attribute

GitHub: #58

It is more flexible because users can change source location by
definining attributes.