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