added method for deleting project and some tests #257