Small changes to appendix and test chapter