Renamed a method
- Added smaller checks on lane ids, run ids, reference, etc
- Added unit tests for smaller checks
- Fixed bugs on these check-functions