Add test commands to the end of file.
Add final functionality, tests, comments.