cleaned up the AssemblyLine class and created a test case for it