Fixed LOVE and added TestMain