finalize test and code for module 2