Fixed tests to work while being built and added a mock usage file