Add test cases for ghcmod#basedir()
Add test cases for ghcmod#build_command()