Move getter and setter require statements to post so that test error line numbers are not skewed

When developing unit tests, I found that the reported error line numbers were consistently off by 3 lines.  I was able to move the fore code to the post to correct this issue.