Added flags test; removed unnecessary files