Moves install targets to makefile and overloads the default test command.