Added tests for fleet and fixed a bug that I found.