Reverted file copy logic and added framework build test