[core] Adds and rectifies tests - all working under Linux now