Updated scheduler test and modified Makefile to build in separate directory