Fixed make test and added post-install script