[BUGFIX] Fixes platform comparison
[TASK] Adds integration tests