Initial implementation tests for line fitting