Fixed Tests

Fixed tests and renamed railway to compound throughout test files.